<template>
	<!-- 寻车详情 -->
	<view class="container" v-if="pageShow">
		<view class="boxS header" @click="goDetail">
			<view class="h-img">
				<!-- <image :src="pageData.carimg"></image> -->
			</view>
			<view class="h-right">
				<!-- <view class="h-right-title">{{pageData.name}}</view> -->
				<view class="h-right-price" style="margin-top: 15rpx;">
					<!-- 指导价：{{pageData.zhidaoprice}} -->
				</view>
				<view class="h-right-price">
					<!-- 发布时间：{{pageData.addtime}} -->
				</view>
			</view>
			<!-- <image  class="imgjian" :src="Core.globalImgUrlBussiness+'/Sxy_queryCar/you@2x.png'"></image> -->
		</view>
		<view class="middle boxS">
			<!-- <view class="m-head">报价列表({{pageData.askcount}})</view> -->
			<view class="m-two">
				<view class="m-item">
					<text>距离</text>
					<!-- <image :src="Core.globalImgUrlBussiness+'/Sxy_queryCar/shunxu@2x.png'"></image> -->
				</view>
				<view class="m-item">
					<text>价格</text>
					<!-- <image :src="Core.globalImgUrlBussiness+'/Sxy_queryCar/shunxu@2x.png'"></image> -->
				</view>
			</view>
		</view>

		<view class="module boxS" v-show="pageData.askcount" v-for="item in pageData.listask" :key="item.askid">
			<view class="module-top">
				<view class="mod-img">
					<image :src="item.storeid"></image>
				</view>
				<view class="mod-right">
					<view class="mod-title text-line">
		<!-- 				{{item.name}}
						<image :src="Core.globalImgUrlBussiness+'/Sxy_queryCar/dun@2x.png'"></image> -->
					</view>
					<view class="mod-item text-line">
					<!-- {{item.companyname}} -->
					</view>
					<view class="mod-item">
						<text>
						<!-- {{item.legalname }} -->
						</text>
						<text>经理</text>
					</view>
					<view class="mod-item text-line" style="height: 25rpx;line-height: 25rpx;">
						<text>指导价：</text>
						<!-- <text>{{item.zhidaoprice}}</text> -->
						<text style="margin-left: 18rpx; font-size:28rpx;font-weight:bold;color:rgba(235,91,1,1);">¥{{item.askprice}}</text>
					</view>
					<view class="mod-item text-line" style="display: flex;justify-content: space-between;">
						<!-- <text>{{item.address}}</text> -->
						<text>48小时后过期</text>
					</view>
				</view>
			</view>
			<view class="module-bottom">
				<view class="m-o-item" @tap="dPhone(item.storephone)">
					<text>电话联系</text>
				</view>
				<view class="m-o-item" style="margin-right: 152rpx;" @tap="xiaoxi">
					<text>发消息</text>
				</view>
				<view>
				</view>
			</view>
		</view>
		<view class="footer">
			<!-- <image @tap="show = true" :src="Core.globalImgUrlBussiness+'/Sxy_queryCar/quxiao@2x.png'"></image> -->
		</view>
		<view>
			<u-modal title='取消寻车' v-model="show" width="65%" :mask-close-able="true" :title-style="{fontWeight:'bold',fontSize:'36rpx',color: '#333333'}"
			 :show-confirm-button="false">
				<view class="slot-content">
					<rich-text :nodes='"是否确定取消此条寻车信息?"'></rich-text>
				</view>
				<view class="woxiangxbox">
					<view @click="show = false">
						<button class="slot-contentbutto2" form-type="reset">我在想想</button>
					</view>
					<view @click="requerqx">
						<button class="slot-contentbutto" form-type="reset">确定取消</button>
					</view>
				</view>
			</u-modal>
		</view>
	</view>
</template>

<script src='./detailsOfMyCarSearch.js'></script>
<style lang="scss" scoped>
	@import './detailsOfMyCarSearch.scss';
</style>
